import { request } from 'umi';
export async function updateAvatar(params: any){
    return request('/api/user/updateAvatar',{
        method:'POST',
        data:params,
    })
}
export async function currentUser(params: any){
    return request('/api/user/currentUser',{
        method:'GET',
        params,
    })
}
